<!DOCTYPE html>
<html>
<head>
<script charset="utf-8" src="js/jquery.min.js?v=01291"></script>
<script charset="utf-8" src="js/global.js?v=01291"></script>
<script charset="utf-8" src="js/bootstrap.min.js?v=01291"></script>
<script charset="utf-8" src="js/template.js?v=01291"></script>

<link rel="stylesheet" href="css/bootstrap.css?v=01291">
<link rel="stylesheet" href="css/style.css?v=1?v=01291">
<link rel="stylesheet" href="css/member.css?v=01291">
<link rel="stylesheet" href="css/order3.css?v=01291"><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="telephone=no" name="format-detection">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1,user-scalable=no">
<title>会员中心</title>
<!--<script type="text/javascript">
$(document).ready(function(){
	var attr = parseInt($(".member_m_pic_1").height());
	var attr3 = parseInt($(".member_m_z_1").height());
	var h = attr - attr3;
	var clientWidth=document.body.clientWidth;
	$(".member_mp_t_img img").css("width",clientWidth*0.3);
	$(".member_mp_t_img img").css("height",clientWidth*0.3);
	
	handleUserPic();
});

function handleUserPic(){
	var th = $(".member_m_pic").outerHeight(true);
	if(th<60){
		setTimeout("handleUserPic",500);
	}else{
		$(".member_m_pic .img-circle").css("height",th*0.9);
		$(".member_m_pic .img-circle").css("width",th*0.9);
	}
	
}
</script>-->
<style>
	.addDiv{
		line-height: 150%;
		border: solid 1px;
	}
</style>
</head>
<body>
<div class="maincontainer">
	<div class="container" style="max-width:768px;margin:0 auto;">
		<div class="row">
			<a>
				<div class="member_top member_top_1">
					<div class="member_top_bg"><img src="images/member_bg.png"></div>
					<div class="member_m_pic member_m_pic_1">
						<img class="img-circle" src="images/noavatar.png">
					</div>
					<div  class="member_m_z member_m_z_1">
						<div class="member_m_x">Polvem</div>
					</div>
					<a href="userhome.html"><div class="member_m_r">账户管理、收货地址</div></a>
				</div>
			</a>
			<form action="" method="post">
				<div class="list-group mb10">
					<a class="list-group-item">
						默认地址
						<span class="gary pull-right" id="defAdd" name="defAdd">传入默认地址</span>
					</a>
					<div>
						<a id="addA"class="list-group-item" data-toggle="modal">普通地址
							<span id="gt" class="gary pull-right">&gt</span>
						</a>
						<div id="model" style="display: none;">
							<div class="addDiv" id="addDiv">
								<p style="font-size: 15px;margin-top: 8px;" id="comAdd" name="comAdd">
									传入普通地址<input class="btn-danger pull-right" type="button" name="delect" id="delect" value="删除" />
								</p>
							</div>
							<div class="addDiv" id="addDiv">
								<p style="font-size: 15px;margin-top: 8px;">
									传入普通地址<input class="btn-danger pull-right" type="button" name="delect" id="delect" value="删除" />
								</p>
							</div>
						</div>
					</div>
					<div class="list-group-item p0 clearfix">
						<div style=" display: flex;justify-content: flex-start;">
							<input type="text" name="" id="" value="" class="form-control"style="width: 100%;"placeholder="添加新地址"/>
							<button type="submit" name="address" id="address" value="添加" class="btn btn-info"/>添加</button>
						</div>
					</div>
				</div>
			</form>
			<footer class="footer">
				<div class="foot-con">
					<div class="foot-con_2">
						<a href="index.html">
							<i class="navIcon home"></i>
							<span class="text">首页</span>
						</a>
						<a href="category.html">
							<i class="navIcon sort"></i>
							<span class="text">分类</span>
						</a>
						<a href="shopcart.html">
							<i class="navIcon shop"></i>
							<span class="text">购物车</span>
						</a>
						<a href="userhome.html" class="active">
							<i class="navIcon member"></i>
							<span class="text">我的</span>
						</a>
					</div>
				</div>
			</footer>
		</div>
	</div>
</div>
<script>
    var addA=document.getElementById('addA');
    var model=addA.nextElementSibling;
    var gt=addA.getElementsByTagName('span')[0];
    addA.onclick=function(){
        if(model.style.display=='none'){
            model.style.display="block";
            gt.innerHTML="";
        }else{
            model.style.display="none";
            gt.innerHTML="&gt";
        }
    }
</script>
</body>
</html>